
import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class RecuperacionUsuario
 */

public class MiServlet extends HttpServlet {
    private static final long serialVersionUID = 1L;
       
    
    public MiServlet() {
        super();
        
    }

   
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
       
    }

    
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
         PrintWriter out = response.getWriter();

         out.println("<html>");
         out.println("<head></head>");         
         out.println("<body>");    
         
         out.println("<table>");
         out.println("	<tr>");  
         out.println("		<th>campo1:</th>");  
         out.println("		<td>"+request.getParameter("campo1")+"</td>");  
         out.println("	</tr>");  
         out.println("	<tr>");  
         out.println("		<th>campo2:</th>");  
         out.println("		<td>"+request.getParameter("campo2")+"</td>");  
         out.println("	<tr>"); 
         out.println("	<tr>");  
         out.println("		<th>campo3:</th>");  
         out.println("		<td>"+request.getParameter("campo3")+"</td>");  
         out.println("	<tr>"); 
         out.println("	<tr>");  
         out.println("		<th>campo4:</th>");  
         out.println("		<td>"+request.getParameter("campo4")+"</td>");  
         out.println("	<tr>"); 
         out.println("	<tr>");  
         out.println("		<th>campo5:</th>");  
         out.println("		<td>"+request.getParameter("campo5")+"</td>");  
         out.println("	<tr>"); 
         out.println("	<tr>");  
         out.println("		<th>campo6:</th>");  
         out.println("		<td>"+request.getParameter("campo6")+"</td>");  
         out.println("	<tr>"); 
         out.println("</table>");
         
         out.println("</body>");
         out.println("</html>");           
    }

}